package de.fhkl.strokeprotocol.messages;

import java.util.UUID;

/**
 * Message that marks the end of a video transmission.
 */
public class TransmissionCompletedMessage implements IMessage
{
	private static final long serialVersionUID = -8658340304079180371L;

	/**
	 * ID of the correspondent video
	 */
	private UUID mVideoId;

	/**
	 * Message that marks the end of a video transmission.
	 * 
	 * @param videoId
	 */
	public TransmissionCompletedMessage(UUID videoId)
	{
		mVideoId = videoId;
	}

	/**
	 * Returns the ID of the correspondent video.
	 * 
	 * @return
	 */
	public UUID getVideoId()
	{
		return mVideoId;
	}

	/**
	 * Sets the ID of the correspondent video.
	 * 
	 * @param videoId
	 */
	public void setVideoId(UUID videoId)
	{
		mVideoId = videoId;
	}
}
